<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    tbody img{width: 40px;height: 40px;}
    tbody input{width: 40px;}
  </style>
</head>
<body>
  <h2>这是购物车，<a href="./list.html">继续购物</a></h2>
  <table width="700" border="1">
    <thead>
      <tr>
        <th>全选</th>
        <th>图片</th>
        <th>名称</th>
        <th>数量</th>
        <th>价格</th>
        <th>小计</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody></tbody>
    <tfoot>
      <tr>
        <th colspan="2"><input type="checkbox" id="allCheck"><label for="allCheck">全选</label></th>
        <th align="right">总数量：</th>
        <th id="sum">0</th>
        <th align="right">总价：</th>
        <th id="sumPrice">0</th>
        <th id="delAll">删除全部</th>
      </tr>
    </tfoot>
  </table>
</body>
<script src="./js/cartMain.js" type="module"></script>
</html>